﻿using System;
namespace t_205_verk_hopur_12.Models
{
    public interface IUserRepository
    {
        void Add(User user);
        System.Collections.Generic.IEnumerable<Channel> GetEmployedAtChannels(int userID);
        System.Collections.Generic.IEnumerable<Channel> GetOwnedChannels(int userID);
        System.Collections.Generic.IEnumerable<Channel> GetSubscribedChannels(int userID);
        User GetUserByID(int id);
        User GetUserInfoByUsername(string name);
        void Save();
    }
}
